<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en" >

 <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>moossageTest</title>	
	<script type="text/javascript" src="mootools.v1.1.js"></script>
	<script type="text/javascript" src="moossage.js"></script>
	<script type="text/javascript">
	  var moossage = new Moossage();
	  
	  function addMessage() {
	  	moossage.addMessage($("xx").value);
	  }
	</script>
</head>
<body>

	<div>
		<input type="text" id="xx" />
		<input type="button" value="test" onclick="addMessage();"/>
	</div>
	
</body>

</html>


